package com.Hsu.demo.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Hsu琛君珩
 * @ClassName:Student
 * @date 2023-12-10
 * @apiNote
 * @Version: v1.0
 */

@Component
@ConfigurationProperties(prefix = "student")
@Data
public class Student {
    private Integer id;
    private String name;
    private Integer age;
}